package com.jslx.pojo.lcc;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class FdPayMoneyLog implements Serializable {
    private Integer id;

    private Long payOrderId;

    /**
     * 订单状态（0：待支付  1：支付成功  2：取消支付 3：支付失败  4：支付超时）
     */
    private Byte status;

    /**
     * 支付类型（1=微信支付；2=支付宝客户端；3=支付宝网页版 ;）
     */
    private Byte payType;

    /**
     * 购买月数
     */
    private Integer month;

    /**
     * 购买天数
     */
    private Integer day;

    /**
     * 订单总额
     */
    private BigDecimal totalMoney;

    /**
     * 支付金额
     */
    private BigDecimal payMoney;

    /**
     * 支付成功时间
     */
    private Date paySuccessTime;

    /**
     * 套餐id
     */
    private Integer payPackageId;

    /**
     * 套餐购买服务类型ids
     */
    private String payServiceTypeIds;

    /**
     * 套餐所属企业（0：乐冲刺套餐）
     */
    private Integer companyId;

    /**
     * 套餐包含的科目ids
     */
    private String subjectIds;

    private Integer studentId;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(Long payOrderId) {
        this.payOrderId = payOrderId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public Date getPaySuccessTime() {
        return paySuccessTime;
    }

    public void setPaySuccessTime(Date paySuccessTime) {
        this.paySuccessTime = paySuccessTime;
    }

    public Integer getPayPackageId() {
        return payPackageId;
    }

    public void setPayPackageId(Integer payPackageId) {
        this.payPackageId = payPackageId;
    }

    public String getPayServiceTypeIds() {
        return payServiceTypeIds;
    }

    public void setPayServiceTypeIds(String payServiceTypeIds) {
        this.payServiceTypeIds = payServiceTypeIds == null ? null : payServiceTypeIds.trim();
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(String subjectIds) {
        this.subjectIds = subjectIds == null ? null : subjectIds.trim();
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", payOrderId=").append(payOrderId);
        sb.append(", status=").append(status);
        sb.append(", payType=").append(payType);
        sb.append(", month=").append(month);
        sb.append(", day=").append(day);
        sb.append(", totalMoney=").append(totalMoney);
        sb.append(", payMoney=").append(payMoney);
        sb.append(", paySuccessTime=").append(paySuccessTime);
        sb.append(", payPackageId=").append(payPackageId);
        sb.append(", payServiceTypeIds=").append(payServiceTypeIds);
        sb.append(", companyId=").append(companyId);
        sb.append(", subjectIds=").append(subjectIds);
        sb.append(", studentId=").append(studentId);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}